package com.omaitec.log4j.mq.spring;

import javax.jms.Message;
import javax.jms.MessageListener;

public class LogMessageListener implements MessageListener {
    public void onMessage(Message message) {
	try {
	    System.out.println("Consumer:" + message.toString());
	} catch (Exception e) {
	    e.printStackTrace();
	}
    }
}
